#include<stdio.h>

int main()
{
    double m;
    const double pi=3.1415926;
    int n;
    scanf("%d",&n);
    while(n--)
    {
        scanf("%lf",&m);
        printf("%.2f\n",pi*m*m/3);
    }
    return 0;
}
